package com.csy.user.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.csy.user.entity.AccessCard;
import com.csy.user.mapper.AccessCardMapper;
import com.csy.user.service.IAccessCardService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 
 * @since 2025-02-26
 */
@Service
public class AccessCardServiceImpl extends ServiceImpl<AccessCardMapper, AccessCard> implements IAccessCardService {

    @Resource
    AccessCardMapper accessCardMapper;

    /**
     * 查询门禁卡列表
     * @param accessCard
     * @return
     */
    @Override
    public List<AccessCard> getCards(AccessCard accessCard) {

        List<AccessCard> list = accessCardMapper.getCards(accessCard);
        return list;
    }
}
